package com.wdh.web.controller;

import com.wdh.server.OrderService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class OrderController {

    @Resource
    private OrderService orderService;

    @RequestMapping("/order/detail")
    public Object getOrder(){
        return orderService.getOrder();
    }
}
